package practice1_100;

public class Practice1310 {
    public int[] xorQueries(int[] arr, int[][] queries) {
        int arrLen=queries.length;
        int[] res=new int[queries.length];
        for(int i=0;i<arrLen;i++){
            int left=queries[i][0];
            int right=queries[i][1];
            while(left<=right){
                res[i]=arr[left]^res[i];
                left++;
            }
        }
        return res;
    }

    public static void main(String[] args) {
        new Practice1310().xorQueries(new int[]{16},new int[][]{{},{},{}});
    }
}
